4573863bc09b4fbd734eb7e3fbaeaf5f7f66ac13,app/src/main/java/com/boardgamegeek/service/SyncPlays.java,SyncPlays,executeCall,#String#String#String#number#,98
Before Change
showNotification(minDate, maxDate, page);
Call<PlaysResponse> call = service.plays(username, minDate, maxDate, page);
Response<PlaysResponse> response = call.execute();
if (response.isSuccessful()) {
persist(response.body());
updateTimeStamps(response.body());
} else {
Timber.w("Unsuccessful plays fetch with code: %s", response.code());
return null;
}
return response.body();
}
After Change
showNotification(minDate, maxDate, page);
Call<PlaysResponse> call = service.plays(username, minDate, maxDate, page);
try {
response = call.execute();
if (!response.isSuccessful()) {
showError(String.format("Unsuccessful plays fetch with code: %s", response.code()));
syncResult.stats.numIoExceptions++;
return true;